<template>
  <div class="city">
    <div class="city-box">
      <div class="city-title">
        <h1>城市热招</h1>
      </div>
      <div class="city-images">
        <div class="images-row">
          <div class="images-col">
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101010100.png"
                alt=""
              />
            </a>
          </div>
          <div class="images-col">
            <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
             <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
             <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
             <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
             <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
             <a href="">
              <img
                src="https://static.zhipin.com/zhipin-geek/v568/web/geek/images/city_101040100.png"
                alt=""
              />
            </a>
          </div>

          <div class="city-left"><i></i></div>
          <div class="city-right"><i></i></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "LCityRecruit",
};
</script>

<style lang="less" scoped>
.city {
  width: 100%;
  margin: 60px 0;
  .city-box {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    .city-title {
      text-align: center;
      h1 {
        font-size: 32px;
        font-weight: 600;
        color: #222;
        line-height: 45px;
        margin-bottom: 12px;
      }
    }
    .city-images {
      height: 170px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      .images-row {
        height: 170px;
        .images-col {
          height: 82px;
          display: flex;
          margin-top: 3px;
          a {
            flex: 1;
            img {
              height: 98.5%;
              border-radius: 12px;
              margin-right: 5px;
              transition: all linear 0.2s;
              &:hover {
                filter: brightness(80%);
              }
            }
          }
        }
      }
    }
    .city-left {
      position: absolute;
      width: 30px;
      height: 56px;
      background: #fff;
      border-radius: 15px;
      top: 50%;
      left: -40px;
      margin-top: 4px;
      cursor: pointer;
      transition: all 0.2s linear;
      i {
        width: 5px;
        height: 9px;
        margin-top: 24px;
        margin-left: 12px;
        position: absolute;
        z-index: 2;
        background: url(https://img.bosszhipin.com/static/file/2022/01vcskhm8y1652252017628.png)
          0 -16px/10px auto no-repeat;
      }
      &:hover {
        background: #00bebd;
      }
    }
    .city-right{
      position: absolute;
      width: 30px;
      height: 56px;
      background: #fff;
      top: 50%;
      right: -40px;
      border-radius: 15px;
      color: #848899;
      margin-top: 4px;
      cursor: pointer;
      transition: all 0.2s initial;

      i {
        background: url(https://img.bosszhipin.com/static/file/2022/01vcskhm8y1652252017628.png)
        0 -16px/10px auto no-repeat;
        width: 5px;
        height: 9px;
        position: absolute;
        margin-top: 24px;
        margin-left: 13.5px;
        transform: rotate(180deg); // 将i元素转变方向
        z-index: 2;
      }
       &:hover {
        background: #00bebd;
      }
    }
  }
}
</style>
